import {tenantServiceDefinitions} from '../../../@types/api/def-tenant-service';
// import ajaxService from '../../../utils/ajaxService';
import {HomeData} from '../../common/floorData';

export type AboutUsPartData = {
	companyInfo: tenantServiceDefinitions['SupplierInfoShow'];
	templateId: number;
};

// export async function fetchAboutUsData(params, data: HomeData): Promise<AboutUsPartData> {
// 	const {supplierId} = data?.companyInfo;
// 	const {templateId} = data;
// 	const {data: companyInfo} = await ajaxService.supplierInfoShow({supplierId, websiteId: ''});
// 	return {
// 		companyInfo,
// 		templateId,
// 	};
// }
